package X::Controller::A;
use Moose;
use namespace::autoclean;

BEGIN { extends 'Catalyst::Controller'; }

=head1 NAME

X::Controller::A - Catalyst Controller

=head1 DESCRIPTION

Catalyst Controller.

=head1 METHODS

=cut

sub list : Local {
    my ( $self, $c ) = @_;
    
    $c->stash->{data} = 'list';
}

sub list2 : Local {
    my ( $self, $c ) = @_;
    
    $c->stash->{data} = 'list2';
}
=head2 index

=cut

sub index :Path :Args(0) {
    my ( $self, $c ) = @_;

    $c->response->body('Matched X::Controller::A in A.');
}


=head1 AUTHOR

cai.yuxuan,,,

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

__PACKAGE__->meta->make_immutable;

1;
